﻿using System;
using YawetagDemo.Framework.Data;
using YawetagLib.System.Utilities;

namespace YawetagDemo.Framework.Impl.Data
{
    public partial class Person : IPerson
    {
        public int? Age
        {
            get { return DOB.HasValue ? DOB.Value.ToAge(DateTime.Now.Date) : (int?)null; }
        }
    }
}
